import React from "react";
import {Loading} from "element-react";
import ContentStyles from '../css/Content.module.css';

export class AppLoading extends React.Component<{}, {}> {
    render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | string | number | {} | React.ReactNodeArray | React.ReactPortal | boolean | null | undefined {
        return <Loading text={'加载中...'}>
            <div className={ContentStyles.body}/>
        </Loading>;
    }
}